[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 2F Fn 4B05  C - DOS 5+ Task Switcher - Identify Instance Data          [T]

   AX = 4B05h
   ES:BX = 0000h:0000h
   CX:DX -> task switcher entry point (see AX=4B02h)

Return: ES:BX -> startup info structure (see below) or 0000h:0000h

Notes: called by task switcher
   clients with instance data should hook this call, pass it through to
     the previous handler with unchanged registers using a simulated
     interrupt.  On return, the client should create a startup info
     structure (see below), store the returned ES:BX in the "next"
     field, and return the address of the created structure in ES:BX
   all MS-DOS function calls are available from within this call

See Also: AX=1605h,AX=160Bh,AX=4B02h

Format of startup info structure:
Offset Size    Description
 00h  2 BYTEs  major, minor version of info structure (03h,00h)
 02h   DWORD   pointer to next startup info structure or 0000h:0000h
 06h   DWORD   0000h:0000h (ignored)
 0Ah   DWORD   ignored
 0Eh   DWORD   pointer to instance data records

Format of one instance data record in array:
Offset Size    Description
 00h   DWORD   address of instance data (end of array if 0000h:0000h)
 04h   WORD    size of instance data

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson